<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="google" content="notranslate">
    <meta name="google" content="notranslate">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1">
    <link rel="icon" href="./img/heytapicon.png">
    <title>『帐号』-登录</title>
    <!-- <script src="./js/localPolyfills.js"></script> -->
    <script src="./js/jquery.min.js"></script>
    <script></script>
    <link href="./css/chunk-common.css" rel="stylesheet">
    <link href="./css/chunk-vendors.css" rel="stylesheet">
    <link href="./css/index.css" rel="stylesheet">
</head>

<body class="heytap">
    <noscript><strong>We're sorry but hello doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript>
    <div id="app">
        <div class="index  indexCookie">
            <div class="cookieTips">
                <span>本网站使用cookie，用于在您的电脑中存储信息。这些cookie可以使网站正常运行，以及帮助我们改进用户体验。使用本网站，即表示您接受放置这些cookie。</span>
                <a>同意并关闭提示</a></div>
            <div class="header" id="headerBox">
                <div class="header_wrap">
                    <a class="header_faq" href="javascript:;">帮助中心</a>
                </div>
            </div>
            <div class="box" id="box">
                <div class="box_content">
                    <div class="index_content">
                        <div class="tab">
                            <div class="tab_item active">帐号登录</div>
                        </div>
                        <div class="">
                            <div class="tabloginway">
                                <p class="on">短信验证码登录</p>
                                <p class="">密码登录</p>
                            </div>
                            <div class="zoneInput account">
                                <div>
                                    <input type="text" autocomplete="new-password" placeholder="请输入手机号码" value="">
                                </div>
                                <div class="input_error_tip"></div>
                            </div>
                            <div class="voicelogin ">
                                <div class="input password input_icon"><input autocomplete="new-password" name="" type="password" placeholder="请输入密码" value=""><i></i>
                                    <div class="voice_btn"><span class="forgetpwd">忘记密码</span></div>
                                    <div class="input_error_tip"></div>
                                </div>
                                <div class="input codes codeWrap"><input autocomplete="new-password" name="" type="text" placeholder="请输入验证码" value="">
                                    <div class="input_code disabled">获取验证码</div>
                                    <div class="voice_btn"></div>
                                    <div class="input_error_tip"></div>
                                </div>
                                <div class="codelogin"><button class="button primary_btn">登录</button></div>
                                <div class="passlogin"><button class="button primary_btn">登录</button></div>
                                <div class="linkContainer"><a class="link privacy" href="javascript:;">隐私政策</a><a class="link" href="javascript:;">注册帐号</a></div>
                            </div>
                        </div>
                        <div class="popup">
                            <div class="voice_popup">
                                <div class="voice_mask"></div>
                                <div class="voice_main">
                                    <div class="pop_title">提示</div>
                                    <div class="pop_detail">
                                        <p>账号未注册</p>
                                    </div>
                                    <div class="btns"><button class="button primary_btn">去注册</button><button class="button secondary_btn">取消</button></div>
                                    <div class="input_error_tip"></div><i class="icon_close"></i>
                                </div>
                            </div>
                        </div>





                    </div>
                </div>
            </div>
            <div class="footer">
                <p><span>© 2005 - 2020 航盛科技 版权所有 苏ICP备 14058864 号-2</span><span>联系方式：4001-555-666</span></p>
            </div>

            <div class="capIframe">
                <div class="capIframe_popup">
                    <div class="capIframe_popup_header">
                        <div>安全验证</div><i class="capIframe_close"></i>
                    </div>
                    <div class="capIframe_popup_cap"></div>
                </div>
                <div class="capIframe_mask"></div>
            </div>

            <div class="loading">
                <div class="loading_popup"><i class="loading_icon"></i> 正在登录...</div>
                <div class="loading_mask"></div>
            </div>


        </div>
    </div>

    <!-- <script src="./js/chunk-vendors.js"></script>
    <script src="./js/chunk-common.js"></script> -->
    <!-- <script src="./js/index.js"></script> -->

    <script>
        $(function() {
            // 底部cookieTips
            if (localStorage.ALLOW_COOKIE) {
                $(".index").removeClass("indexCookie");
                $(".cookieTips").remove();
            }

            $(".cookieTips a").click(function() {
                localStorage.ALLOW_COOKIE = true;
                $(".index").removeClass("indexCookie");
                $(".cookieTips").remove();
            })


            // tab切换
            $(".tabloginway p").click(function() {
                if (!$(this).hasClass("on")) {
                    $(".tabloginway p").removeClass("on");
                    $(this).addClass("on");
                    if ($(".voicelogin").hasClass("hide_pass")) {
                        $(".account input").attr("placeholder", "请输入手机号码");
                        $(".voicelogin").removeClass("hide_pass");
                    } else {
                        $(".account input").attr("placeholder", "请输入手机号码或邮箱");
                        $(".voicelogin").addClass("hide_pass");
                    }
                }
            })




            // 密码点击切换
            $(".input_icon i").click(function() {
                if ($(this).prev().attr("type") == "password") {
                    $(this).prev().attr("type", "text");
                    $(this).parent().removeClass("passwordIcon");
                    $(this).parent().addClass("passwordShow");
                } else {
                    $(this).prev().attr("type", "password");
                    $(this).parent().removeClass("passwordShow");
                    $(this).parent().addClass("passwordIcon");
                }
            })

            // 获取验证码按钮变化
            $('.account div input').bind('input propertychange', function() {
                var account = $(this).val();
                if (account.length > 2) {
                    $(".input_code").removeClass("disabled");
                } else {
                    $(".input_code").addClass("disabled");
                }
            });



        })
    </script>
</body>

</html>